Skip to main content

Start-LogTail

SYNOPSIS​

SYNTAX​

Start-LogTail [-FilePath] <String> [[-Tail] <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION​

Tail a log file with colored output based on log severity levels using subtle alternating text colors

EXAMPLES​

EXAMPLE 1​

Start-LogTail -FilePath "C:\logs\app.log" -Tail 50

Monitor the last 50 lines of app.log with color-coded severity levels and subtle alternating text colors

PARAMETERS​

-FilePath​

Path to the log file to monitor

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Tail​

Number of lines to display from the end of the file initially

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction​

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

OUTPUTS​

NOTES​

EDIT THIS DOC​

This page was auto-generated from PowerShell comment-based help. To edit this page, update the corresponding command help in the module source repository.